#define _CRT_SECURE_NO_WARNINGS 1
#include <cmath>
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include<math.h>
#include<stdlib.h>
#include<stdio.h>
#include<unordered_map>
#include<queue>
#include<stack>
#include <functional>
#include <memory>
using namespace std;

class Solution {
public:
    int maxProfit(vector<int>& prices) {
        int mini = 100000, maxi = 0;
        for (auto ch : prices)
        {
            maxi = max(maxi, ch - mini);
            mini = min(ch, mini);
        }
        return maxi;
    }
};

int main()
{
    char arr1[] = {'a','b','c','d'};
    cout << arr1;
    return 0;
}